package org.deng.learn.mybatis.xml;



import com.alibaba.fastjson.JSON;
import org.deng.learn.mybatis.entity.User;

import java.util.List;

/**
 * @Author DengLibin
 * @Date 19-4-27
 * @Time 下午6:50
 * @Desc
 */
public class MybatisXmlApp {
    public static  void  main(String[] args){
        UserDao userDao = new UserDao();
        List<User> list = userDao.query();
      // List<User> list = userDao.query2();
        System.out.println(JSON.toJSONString(list));
    }
}
